package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 旅游攻略关联表对象 jz_article_shop
 * 
 * @author ruoyi
 * @date 2021-03-22
 */
public class JzArticleShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标示 */
    private Long id;

    /** 文章Id */
    @Excel(name = "文章Id")
    private Long articleId;

    /** 景点id */
    @Excel(name = "景点id")
    private Long shopId;

    /** 距离 */
    @Excel(name = "距离")
    private Long distance;
    /***游览类型***/
    @Excel(name = "关联类型")
    private  Long cateId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setDistance(Long distance) 
    {
        this.distance = distance;
    }

    public Long getDistance() 
    {
        return distance;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("articleId", getArticleId())
            .append("shopId", getShopId())
            .append("distance", getDistance())
            .toString();
    }


    public Long getCateId() {
        return cateId;
    }

    public void setCateId(Long cateId) {
        this.cateId = cateId;
    }
}
